﻿<Window x:Class="WP7BackupService.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="WP7 Backup Service" Height="350" Width="525">
	<Window.Resources>
		<Image x:Key="aboutLogo" Source="AboutLogo.png" Stretch="fill" Width="50"  />
	</Window.Resources>
	<Grid Margin="5">
		<Grid.RowDefinitions>
			<RowDefinition Height="auto" />
			<RowDefinition Height="*" />
			<RowDefinition Height="auto" />
		</Grid.RowDefinitions>
		<StackPanel Orientation="Horizontal" Margin="5">
			<StaticResource ResourceKey="aboutLogo" />
			<TextBlock VerticalAlignment="Center" Margin="5,0,0,0" Text="WP7 Backup Service" HorizontalAlignment="Center" FontSize="22" FontStretch="Normal" FontWeight="Bold" />
		</StackPanel>
		<StackPanel Grid.Row="1" Margin="5">
			<Label Margin="0,20,0,0" Content="Backup Service Address:" />
			<TextBox IsReadOnly="true" x:Name="txtServiceUri" Background="Yellow"></TextBox>
			<Label Margin="0,20,0,0" Content="Backup Folder"></Label>
			<TextBox TextChanged="TxtTargetFolderTextChanged" x:Name="txtBackupFolder"></TextBox>
		</StackPanel>
		<Grid Grid.Row="2" Margin="5">
			<Button  Content="About" Width="80" HorizontalAlignment="Right" Click="AboutClick" />
		</Grid>
	</Grid>
</Window>
